package com.nariano.server.domain.entities;

public class AreaBoundaries {
	
	final private int width;
	final private int height;
	
	public AreaBoundaries(int width, int height) {
		if (width<=1 && height<=1) 
			{ throw new IllegalArgumentException("Widht and height must at least cover 2 areas"); }
		this.width = width;
		this.height = height;
	}

	public int getWidth() {
		return width;
	}
	
	public int getHeight() {
		return height;
	}
	
	
	

}
